package com.ccc.javacv.convertor;


import com.ccc.javacv.pojo.ClientInfo;
import com.ccc.javacv.pojo.TaskContext;

/***
 *  视频流转换任务
 */
public interface VideoConvertorTask extends Runnable {

    @Override
    void run();

    void shutdown();

    TaskContext getTaskContext();

    void setOnAbort(Runnable callable);

    void addClient(ClientInfo clientInfo);

    void init();

    boolean isRunning();
}
